#ifndef QPARAMDIALOG_H
#define QPARAMDIALOG_H

#include "qbasedialog.h"
#include "core_global.h"

class QParamPickTreeView;

namespace Ui {
class QParamDialog;
}

class QMachineValue;

class CORELIB_EXPORT QParamDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QParamDialog(QWidget *parent = 0);
    ~QParamDialog();
    void    init();

    void    show_param(const QList<QMachineValue*>  &list);

    int     get_ret();
    QList<QMachineValue*>   get_check_param();
private slots:
    void on_okBtn_clicked();

    void on_cancelBtn_clicked();

private:
    Ui::QParamDialog *ui;

protected:
    QParamPickTreeView      *m_param_view;
    int                     m_ret;
};

#endif // QPARAMDIALOG_H
